// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'IntegrationDataConfigId',
                editTable:true ,
        footer: "Foots",
        cnName: '集成数据配置',
        name: 'IntegrationDataConfig',
        newTabEdit: false,
        url: "/IntegrationDataConfig/",
        sortName: "IntegrationDataConfigId"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"IntegrationDataTypeId":"","IntegrationDataId":"","IsEnabled":"","ApiPath":""};
    const editFormOptions = [[{"dataKey":"数据集成业务类型","data":[],"title":"业务类型","field":"IntegrationDataTypeId","type":"select"},
                               {"dataKey":"数据集成对接数据","data":[],"title":"对接单据","field":"IntegrationDataId","type":"select"},
                               {"dataKey":"是否","data":[],"title":"是否启用","field":"IsEnabled","type":"select"},
                               {"title":"Api路径","field":"ApiPath","type":"text"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'IntegrationDataConfigId',title:'对接数据配置标识',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'IntegrationDataTypeId',title:'业务类型',type:'int',bind:{ key:'数据集成业务类型',data:[]},width:110,edit:{type:'select'},align:'left'},
                       {field:'IntegrationDataId',title:'对接单据',type:'int',bind:{ key:'数据集成对接数据',data:[]},width:110,edit:{type:'select'},align:'left'},
                       {field:'IsEnabled',title:'是否启用',type:'int',bind:{ key:'是否',data:[]},width:110,edit:{type:'select'},align:'left'},
                       {field:'ApiPath',title:'Api路径',type:'string',width:220,edit:{type:'text'},align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}